<?php

class UcCaseKindController extends Controller
{
    /*
   * 获取列表
   *
   */
    public function actionGetList()
    {
        try {
            //参数验证

            //检测
            //$user_id = SessionService::getUserIDBySessionid();


            //获取列表
            $searchsql = Util::initSearchSql();

            $searchsql = Util::getSerarchStr($searchsql, "mobile", "mobile"); //手机号

            //排序
            $searchsql = $searchsql . " order by create_time  asc";
            //获取list
            $list = UcCasekind::model()->findAll($searchsql);


            //返回数据
            Util::responseList(count($list), $list);


        } catch (Exception $e) {
            Util::responseErrorMsg($e->getMessage());

        }
    }
}